Skip to contentSkip to conversation

DPMS issue w/ GFX8/Polaris10/Ellesmere/Rx-480-8GiB & agd5f's drm-next-4.17-wip

Bug 104888 [email protected] 1 participant 9 messages Jan 31, 2018 – Apr 26, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104888

Bug ID: 104888
Summary: DPMS issue w/ GFX8/Polaris10/Ellesmere/Rx-480-8GiB &
agd5f's drm-next-4.17-wip
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Hello-
I'm currently running a kernel directly based upon agd5f's
drm-next-4.17-wip (commit aa876beccdd9d6694df78ebbb395eb206d4cb84e at the time of writing this) (I've applied a couple of EFI fixups and tweaked the .gitignore, but none of my cherry-picked commits should be dinking with the DRM/KMS/AMDGPU code).
The system boots, and brings up the AMDGPU driver and FB with no issue, but
the display (a Samsung S27C650 attached via DisplayPort) fails to sleep. I've tried forcing it into sleep mode via setterm, to no avail. There is no error/warning (or info of any kind) logged to the kernel console. If someone could suggest a kernel command-line boot option to increase the verbosity of the AMDGPU driver, I would be very appreciative. Thank you in advance.

-Robin K.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104888

--- Comment #1 from Harry Wentland <[email protected]> --- You can try amdgpu.dc_log=1 and drm.debug=4.

Does the display blank out and then wake right back up or do you see no change at all on the display when trying to enter dpms?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

--- Comment #2 from Robin Kauffman <[email protected]> --- (In reply to Harry Wentland from comment #1)

Quoted 1 line

You can try amdgpu.dc_log=1 and drm.debug=4.

Thanks, I'll try both of these and report back.

Quoted 3 lines

Does the display blank out and then wake right back up or do you see no change at all on the display when trying to enter dpms?

I see no change whatsoever.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

--- Comment #3 from Harry Wentland <[email protected]> --- Curiously enough this is the first time I've heard of setterm. I'm not sure if it's really supported but I tried amdgpu, non-amdgpu (i.e. vbios), and an Intel platform and on neither I can get setterm --powersafe on/off to do anything, no matter whether in a VT or in X (seems like it's intended for VT).

We do support "xset -display :0.0 dpms force off" when you're in X.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #4 from Alex Deucher <[email protected]> ---
I believe setterm uses vesa vbi calls (i.e., calls into the legacy vesa real mode vbi interface) to blank the screen which only works on boards with a legacy vbi interface (i.e., won't work UEFI systems). Doing that goes behind the driver's back and touches the hw directly. Additionally, vbi support for multiple displays is pretty much non existent so even if your board supports vbi, it's not likely to work if you have multiple displays or are using a display configuration different from what came up at boot.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

--- Comment #5 from Robin Kauffman <[email protected]> --- (In reply to Harry Wentland from comment #3)

Quoted 7 lines

Curiously enough this is the first time I've heard of setterm. I'm not sure if it's really supported but I tried amdgpu, non-amdgpu (i.e. vbios), and an Intel platform and on neither I can get setterm --powersafe on/off to do anything, no matter whether in a VT or in X (seems like it's intended for VT).

We do support "xset -display :0.0 dpms force off" when you're in X.

Huh, interesting. I can't (yet) test 'xset -display :0.0 dpms force off', since in still having issues bringing X/Wayland up, but that's a separate bug.

No useful output from amdgpu.dc_log=1 and drm.debug=4 set yet, but I'm trying agd5f's latest push to drm-next-4.17-wip, which has a commit that looks like it may contain a fix, so we'll see.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

Robin Kauffman <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |---

--- Comment #6 from Robin Kauffman <[email protected]> --- Reopening since the DPMS timeout (that *used to* work) still isn't working.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

Robin Kauffman <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|XOrg git |unspecified

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104888

Robin Kauffman <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |WORKSFORME
             Status|REOPENED                    |RESOLVED

--- Comment #7 from Robin Kauffman <[email protected]> --- Works with current-ish drm-next-4.18-next commit (52132fd03504140b4cc58c01b19e82929a03af7a), most recent issue was an omission on my part (failing to put consoleblank=600 (or some other non-zero integer value) in the kernel commandline). Don't know which commit fixed things, as I haven't bisected my way through a few (at least) weeks of commit history. I can have a go at it if someone really wants me to.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel